package com.atty.dms.dto.req;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * ClassName:SingleUserInterestUpdateReqDTO
 * Package:com.atty.dms.dto.req
 * Description:
 *
 * @Author:tony
 * @Create :2025/4/19 14:48
 * @Version :1.0
 */
@Data
public class SingleUserInterestUpdateReqDTO {
    @NotNull(message = "用户ID不能为空")
    private Long userId; // 用户ID

    @NotEmpty(message = "兴趣ID列表不能为空")
    private Long oldInterestId; // 旧兴趣ID列表

    @NotEmpty(message = "兴趣ID列表不能为空")
    private Long newInterestId; // 旧兴趣ID列表
}
